package com.major.sort.quicksorting;

import java.util.Arrays;

public class QuickMain {
    public static void main(String[] args) {
        int[] arr = {3,-9,4};
        QuickSort.quickSort(arr,0,arr.length-1);
        System.out.println(Arrays.toString(arr));
//        int[] arr = new int[5000000];
//        for (int i = 0; i < 5000000; i++) {
//            arr[i] = (int) (Math.random() * 100000);
//        }

        long millis = System.currentTimeMillis();
        QuickSort.quickSort(arr, 0, arr.length - 1);
        System.out.println(System.currentTimeMillis() - millis);
    }
}
